package com.zhang.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author ZhangJunqi
 * @Date 2022/2/6 -11:02
 */
@Data
@Component
@ConfigurationProperties(prefix = "animal")
public class Animal {
    private String animal_type;
    private String animal_name;
    private Integer animal_age;
}
